{include file="public/header" /}

<form class="ajax-form">
	<section class="panel panel-default">
		<header class="panel-header">
			<div class="title"><i class="icon-arrow-down-solid"></i>{$_cur_title}{$parent_id ? ' -【' . model('Area')->getNames($parent_id) . '】下级' : ''}</div>
			<div class="opt-box" style="float: right">
				<a href="" class="jump"><i class="icon-back"></i>返回</a>
			</div>
		</header>
		<div class="panel-body">
			<div class="form-group">
				<div class="name">名称</div>
				<div class="input">
					<input type="text" name="name" value="{$info['name']}" class="form-control" placeholder="名称不能为空！" required>
				</div>
			</div>
		</div>
	</section>

	<div class="form-group-submit ">
		<input type="hidden" name="type" value="{$type + 1}" />
		<input type="hidden" name="parent_id" value="{$parent_id}" />
		<button type="submit" class="btn btn-sm bg-info"><i class="icon-save"></i>保存</button>
		<button type="button" class="btn btn-sm bg-cancel jump"><i class="icon-back"></i>返回</button>
		<div class="fixed-cover"></div>
	</div>
</form>
{include file="public/footer" /}